/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.inventory.helperbeans;

import java.util.Date;

/**
 *
 * @author maha
 */
public class UserRole {

    private int companyRolesSid;
    private Date from;
    private Date to;
    private Boolean activeFlag;

    public UserRole() {
    }

    public UserRole(int companyRolesSid, Date from, Date to, Boolean activeFlag) {
        this.companyRolesSid = companyRolesSid;
        this.from = from;
        this.to = to;
        this.activeFlag = activeFlag;
    }

    public int getCompanyRolesSid() {
        return companyRolesSid;
    }

    public void setCompanyRolesSid(int companyRolesSid) {
        this.companyRolesSid = companyRolesSid;
    }

    public Date getFrom() {
        return from;
    }

    public void setFrom(Date from) {
        this.from = from;
    }

    public Date getTo() {
        return to;
    }

    public void setTo(Date to) {
        this.to = to;
    }

    public Boolean getActiveFlag() {
        return activeFlag;
    }

    public void setActiveFlag(Boolean activeFlag) {
        this.activeFlag = activeFlag;
    }

    @Override
    public String toString() {
        return "UserRole{" + "companyRolesSid=" + companyRolesSid + ", from=" + from + ", to=" + to + ", activeFlag=" + activeFlag + '}';
    }
}
